package org.xiaoyu.feign.core.annotation;

import java.lang.annotation.Annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

/**
 * feign服务扫描
 * 
 * @author zhangsaizz
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(FeignConsumerRegister.class)
public @interface FeignConsumerScan {

	String[] value() default {};

	String[] basePackages() default {};

	Class<?>[] basePackageClasses() default {};

	Class<? extends Annotation> annotationClass() default Annotation.class;

	Class<?> markerInterface() default Class.class;
}
